package com.xiao.gitstudy.service;

import com.xiao.gitstudy.dao.UserDao;
import com.xiao.gitstudy.pojo.User;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class UserService {

    @Resource
    private UserDao userDao;

    public User getUser(){
        return userDao.getUser();
    }
}
